﻿using MediatR;
using SmartProduction.Domain.yjh;
using SmartProduction.ErrorCode;

namespace SmartProduction.Read.API.Application.Commands.MaterList
{
    /// <summary>
    /// 物料查询命令
    /// </summary>
    public class MaterQueryListCommand:IRequest<APIResult<APIPaing<MaterialList>>>
    {
        /// <summary>
        /// 物料清单编号
        /// </summary>
        public string? MaterialCode { get; set; }

        /// <summary>
        /// 物料清单版本
        /// </summary>
        public string? MaterialVersion { get; set; }

        /// <summary>
        /// 物料选择
        /// </summary>
        public string? MaterialName { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool? IsStatus { get; set; }

        public int index { get; set; } = 1;

        public int size { get; set; } = 15;
    }
}
